#include "ManClosedCtrl.h"
#include "Main_constant.h"




BOOL ManClosedCtrl::SetParam(WORD memId, Ndata* pSrcParam) {
	
	return true;
}


BOOL ManClosedCtrl::GetParam(WORD memId, Ndata* pDstParam) {
	switch (memId)
	{
		//class
		case 0: {
			char classNameList[16];
			LocateInstanceClassName(m_entryIndex, m_instanceIndex, classNameList);
			pDstParam->SetDataBody(STR_TYPE, classNameList, 16);
			break;
		}
			  //tag
		case 1: {
			char tagNameList[16];
			LocateInstanceTagName(m_entryIndex, m_instanceIndex, tagNameList);
			pDstParam->SetDataBody(STR_TYPE, tagNameList, 16);
			break;
		}
		//feedChnl
		case 2: {
			pDstParam->SetDvb(Int2Dvb(0));
			break;
		}
		  //plusDir
		case 3: {
			pDstParam->SetDvb(Int2Dvb(1));
			break;
		}
		 //errorGate
		case 4: {
			pDstParam->SetDvb(Float2Dvb(10.0,1));
			break;
		}
		 //errorExceedTime
		case 5: {
			pDstParam->SetDvb(Float2Dvb(1.0, 1));
			break;
		}
	}
	return true;
}

